package algorithm.model.vo;

import java.util.Date;

public class MissionIndiv extends Mission{

	private Date startTime;
	private Date endTime;
	private int remainTime;
	
	public MissionIndiv(int num, String category, String title, String content,
			String image, String url, String corAnswer, int limitTime,
			int score, Date startTime, Date endTime, int remainTime) {
		super(num, category, title, content, image, url, corAnswer, limitTime, score);
		this.startTime = startTime;
		this.endTime = endTime;
		this.remainTime = remainTime;
	}	

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}	
	
	public int getRemainTime() {
		return remainTime;
	}

	public void setRemainTime(int remainTime) {
		this.remainTime = remainTime;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append(super.toString());
		builder.append("MissionIndiv [startTime=");
		builder.append(startTime);
		builder.append(", endTime=");
		builder.append(endTime);
		builder.append("]");
		return builder.toString();
	}
	
}
